package com.igeekhome.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author Romeo
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class NetworkDto {
    private Integer networkId;
    private String networkName;
    private String parentNetworkName;
    private String financeCenter;
    private String address;
    private String province;
    private String city;
    private String area;
    private String principalName;
    private String phone;
    private String telphone;
    private String remark;
    private String financeCenterSign;
    private String distributionCenterSign;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8 ")
    private Date createTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8 ")
    private Date updateTime;
    private Integer type;

}
